package com.anjubao.parking.municipal.roadside.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;


@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
@ApiModel(value = "DeviceRegisterForm", description = "设备请求命令格式form")
@ToString
public class DeviceRegisterForm {


    @ApiModelProperty(value = "命令字符串")
    private String cmd;


    @ApiModelProperty(value = "设备号（唯一），设备设置或平台分配")
    private String devid;

    @ApiModelProperty(value = "设备类型")
    private String devtype;

    @ApiModelProperty(value = "泊位号（唯一），实际泊位编号")
    private String id;


    @ApiModelProperty(value = "设备 SN 号")
    private String sn;


    @ApiModelProperty(value = "设备 MAC 地址")
    private String mac;


    @ApiModelProperty(value = "对接协议版本号")
    private String agrver;

    @ApiModelProperty(value = "设备硬件版本号")
    private String hardver;

    @ApiModelProperty(value = "设备软件版本号")
    private String softver;

    @ApiModelProperty(value = "设备 IP 地址")
    private String ipaddr;
}
